Fixed bug when administrators that use access key did not get devices and networks filtered by permissions.
Fixed bug when administrators that use access key could not access devices not assigned to a network.
OAuth improvements:
 - Added API resource to access OAuth clients
 - Token exchange endpoint allows only one request with the same authorization code within 10 minutes
 - Token exchange now supports basic authentication
 - Added support for Password grants
 - RedirectUrl is now specified on the OAuthClient level
 - Added ability to specify NetworkList when requesting a grant
 - Timestamp for OAuthGrant is now refreshed after each update