add trailing slash to login-ajax url