Fixed some of the checkstyle and PMD warnings in the OAuth package