Sometimes after server reset we receive 401 error even if username and password are not wrong. after second submit we can login with no problem.