Add login_url and authorized_url to contrib functions