Added login support for the ?amplaSession query