LPS-38290 Sets windowState maximized to login failure redirect and fix redirect