Investigating a simple custom implementation of OAuth based authentication.