Fixed security error. Session ID in the url after successful login even though cookies was enabled.