Fixed the login issue when getting 403

Validation works