Fix login after hash

Fix login after hash