Make authorization code domain configurable
Clean up authorization code lookup
Minor clean up in GormClientDetailsService