only add the slash if there's a session prefix