fix for login after challenge