fixed issue with MySQL 5.6+ datetime strings hating the trailing "Z"; clicking a link externally and then logging in will not forget where you were trying to go.