Fixed the authentication redirect issue, now it's going to the proper place