Updated to work with latest rauth