Added support of return_to path after login