error 403 when trying to log in during checkout
My problem was a session bug with my version of php (5.6.3) the code from here contains a workaround: 

function mymodule_user_login(&amp;$edit, $account) {
  $_SESSION['mymodule']['ulogged'] = 1;
}