Login page and remember me cookie
If a front-end user has been automatically logged in due to a "Remember me" me cookie and then directly browses to the login page, they are prompted to login. Instead, they should be treated as logged in and redirected to the default post-login page.
The reasoning behind this current behaviour is that some pages require full login in order to be accessed and this logic prevents the login page from ignoring that. However, this particular logic should only run when the current URL is not a direct login page URL.