Makes login processing work properly