Fixed a bug which prevented login in private mode (safari)