How to use forms authentication with WCF OData Service
MSDN:Securing OData Services using Forms Authentication