Changed oauth consumer id type (to string)
Added passport checking to the API